package com.jinke.api.modules.base.service;

import com.jinke.api.common.api.CommonResult;
import com.jinke.api.modules.third.ezeeship.model.request.EstimateRateRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author macro
 * @since 2024-01-13
 */
public interface BaseShipService {
    CommonResult estimateRate(EstimateRateRequest request);
    //估价
    CommonResult estimateRate(EstimateRateRequest request, Integer userId );

    CommonResult createLabel(EstimateRateRequest request);
    //下单
    CommonResult createLabel(EstimateRateRequest request,Integer userId);

    CommonResult getLabel(String objectId);
    CommonResult getLabel(String objectId,Integer userId);

//    CommonResult cancelLabel(String objectId);
    //新取消加一个订单号记录日志用
    CommonResult cancelLabel(String objectId,String orderNo);

    CommonResult tracking(String trackingNumber);

    //退保险
    CommonResult cancelInsurance(String insuranceId);



}
